<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@include file="../Head.jsp"%>
<style type="text/css">
.newslist li{padding: 10px 0 10px 10px;border-bottom: 1px dotted #d6d6d6;}
.newslist li img{width:100px;height:100px;float: left;margin: 10px;}
.newslist li .cmg{float: left;width: 530px;}
.newslist li .cent{line-height: 20px;color: #676767}
.newslist li .title{overflow: hidden;}
.newslist li .title,.newslist li .title a{color:#BE0028 !important;font-size: 16px;font-weight: normal;font-family: "微软雅黑"}
.newslist li .title span{font-size: 12px;}
.newslist li .tags {color: #676767;}
.newslist li .tags span:hover{color:red;cursor: pointer;}
.classList li span{display:inline-block; width: 39%;padding-left: 30px;}
.classList li {border-bottom: 1px dotted #d6d6d6;}
.newsTops ul li{font-size: 13px;}
.newsTops ul li span{background: #A2A2A2;color: white;line-height:15px; width: 20px;text-align: center;display: inline-block;border-radius:5px;margin-right: 5px;}
</style>
<div class="Body">
	<!-- <div class="block h10"></div> -->
	<div class="baseWidth block">
		<div class="fl h30  " style="line-height: 30px; width: inherit;">
			<div class="menuline fl ml10">
				<ul>
					<li class="home">&nbsp;</li>
					<li class="next">&nbsp;</li>
					<li>首页</li>
					<li class="next">&nbsp;</li>
					<li>支付新闻</li>
				</ul>
			</div>
		</div>
		<div class="clear block "></div>
		<div class="pannel radius5 shadown bor">
			<div class="pannel radius5 shadown  block" style="overflow: hidden;">
			<div class="fl block" style="width: 685px; border-right: 1px dashed #D3D3D3;">
				<div class="pannel-menu pm4 h30">
					<strong>支付新闻资讯 ${Cur_Type.id>0?"    >":""}${Cur_Type.name}</strong>
				</div>
				<input type="hidden" name="cur_type" value="${Cur_Type.id}"/>
				<div class="pannel-body ">
					 <ul class="newslist">
					 	<c:forEach  items="${result.resultList}" var="item" varStatus="status">
					 		<li>
							 	<a href="${ctx}/news/NewsInfo/${item.id}.html" ><img alt=""  src="${item.img==''?'../../resource/img/zfzj.jpg':item.img}"></a>
							 	<div class="cmg">
							 		<div class="title"><a href="${ctx}/news/NewsInfo/${item.id}.html">${item.title}</a></div>
							 		<div class="cent"  >${item.abstracts}</div>
							 		<div class="tags">Tags:<span>支付</span>、<span>Apple</span>
							 			<span class="fr">${item.create_time.substring(0,16)}</span>
							 		</div>
							 	</div>
							 	<div class="clear"></div>
					 		</li>
					 	</c:forEach>
					 </ul>
					 <div>
					 <span class="fl pagging">共${result.allCounts}条</span>
					<ul class="pagging fr">
						<c:forEach  items="${result.pageNum}" var="item" varStatus="status">
							<li ${(item==result.currentPage+"")?"class='active'":""} onclick="toPage('${item}')">
								${item=='0'?"...":item}
							</li>
						</c:forEach>
					</ul>
					<div class="clear"></div>
				</div>
				</div>
			</div>
			<%@ include file="in_NewsPublic.jsp"%>
			<div class="clear"></div>
		</div>
		</div>
	</div>
	<div class="h20"></div>
</div> 
<script type="text/javascript">
	function toPage(i){
		var type=$(".Body input[name=cur_type]").val();
		if(i!='0')
		location.href="${ctx}/news/"+i+"/"+type+".html";
	}	
</script>
<%@include file="../Bottom.jsp"%>
